package com.hhtc.jsj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hhtc.jsj.entity.PostComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hhtc.jsj.request.PostCommentRequest;
import com.hhtc.jsj.request.UserRequest;

import java.util.List;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author ty
 * @since 2022-04-07
 */
public interface PostCommentService extends IService<PostComment> {
    boolean add(PostCommentRequest postCommentRequest);
    boolean remove(PostCommentRequest postCommentRequest);
    boolean update(PostCommentRequest postCommentRequest);
    PostCommentRequest getById(PostCommentRequest postCommentRequest);
    List<PostCommentRequest> queryList(PostCommentRequest postCommentRequest);

    Page queryPage(PostCommentRequest postCommentRequest);
}
